package v.book.read.tip.statemachine2.vm.input;

import v.book.read.tip.statemachine2.Input;

public final class FirstDigit implements Input {
    private String name;
    private int value;
    private FirstDigit(String nm, int val) {
        name = nm;
        value = val;
    }
    public String toString() { return name; }
    public int getValue() { return value; }
    public final static FirstDigit
        A = new FirstDigit("A", 0),
        B = new FirstDigit("B", 1),
        C = new FirstDigit("C", 2),
        D = new FirstDigit("D", 3);
}
